package com.aaa.common.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @className AssetType
 * @Description TODO
 * @Author wyy
 * @Data 2021/1/21 18:52
 * @Version 1.0
 */
@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("asset_type")
public class AssetType implements Serializable {
    private static final long serialVersionUID=-45455L;
    @TableId(type = IdType.AUTO)
    private Integer id;         //id
    @TableField("asset_type")
    private String assetType;  //资产类型（商业/餐饮/公办）
}
